#ifndef __CPPTUTORCLASSTEMPLATE_H__
#define __CPPTUTORCLASSTEMPLATE_H__

#include <iostream>

#include "cppTutorLog.h"
extern CcppTutorLog Log;

using namespace std;

template <class T>
class CcppTutorFunctionTemplate 
{
	private:
		T a, b;
	public:
		CcppTutorFunctionTemplate (T first, T second)
		{
			a = first; 
			b = second;
		}
		T getmax ()
		{
            Log << "ENTER : T getmax ()" << endl;
			T retval;
			retval = a>b? a : b;
            Log << "EXIT  : T getmax () [" << retval << " : " << __LINE__ << "]"<< endl;
			return retval;
		}
};

#endif //__CPPTUTORCLASSTEMPLATE_H__
